package com.example.mapper.one;

import com.example.pojo.Tree;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TreeMapper {
    List<Tree> getChildTree(@Param("ancestorId")Integer ancestorId);
    Integer getAncestor(@Param("descendant")Integer descendant);
}
